﻿using Aliphant.Mvvm.XEvent.Instance;
using Aliphant.Mvvm.XEvent.Interface;

namespace Aliphant.Mvvm.XEvent
{
    /// <summary>
    /// 事件代理
    /// </summary>
    public class XEventAgent
    {
        private static XEventAgent? _instance;

        public static XEventAgent Instance
        {
            get => _instance ?? (_instance = new XEventAgent());
        }


        public IEventManager EventManager = new EventManagerAgent();

        public IControlManager ControlManager = new ControlManagerAgent();
    }
}
